package cn.easybuy.service;

import cn.easybuy.entity.News;
import cn.easybuy.entity.PageInfo;

import java.sql.SQLException;

public interface NewsService {
    PageInfo<News> listPage(PageInfo<News> pageInfo) throws SQLException;

    News getNewsById(int id) throws SQLException;
}
